<!DOCTYPE html>
<html dir="ltr" lang="cn">
<head>
    <meta charset="UTF-8" />
    <title>订单打印</title>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.css" rel="stylesheet" media="all" />
    <script type="text/javascript" src="__PUBLIC__/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/bootstrap/css/bootstrap.min.css"></script>
    <link href="__PUBLIC__/bootstrap/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
    <style media="print" type="text/css">
		.noprint{display:none}
	</style>
	<style type="text/css">
		.mytable > thead > tr > th, .mytable > tbody > tr > th, .mytable > tfoot > tr > th, .mytable > thead > tr > td, .mytable > tbody > tr > td, .mytable > tfoot > tr > td{border: none;padding:2px}
	</style>
</head>
<body>
<div class="container">
    <div style="page-break-after: always;">
		<br/>
		<h4 class="text-right">总件数：{$order.jian_count}</h4>
        <h3 class="text-center">众创织梦商城购物清单</h3>
		<br/>
		<table class="table mytable">
			<tr>
				<td>收货人：{$order.consignee}</td>
				<td>电话：{$shop.phone}</td>
			</tr>
			<tr>
				<td>订单编号：{$order.order_sn}</td>
				<td>订购时间：{$order.add_time|date='Y-m-d H:i:s',###}</td>
			</tr>
			<tr>
				<td colspan="2">收货地址：{$order.full_address}</td>
			</tr>
		</table>
		
        <table class="table table-bordered">
            <thead>
            <tr>
				<td class="text-center"><b>序号</b></td>
                <td class="text-center"><b>商品名称</b></td>
                <td class="text-center"><b>商品货号</b></td>
                <td class="text-center"><b>商品规格</b></td>
                <td class="text-center"><b>数量</b></td>
                <td class="text-center"><b>单价</b></td>
                <td class="text-center"><b>小计</b></td>
            </tr>
            </thead>
            <tbody>
            <volist name="orderGoods" id="good">
                <tr>
					<td class="text-center">{$i}</td>
                    <td class="text-center">{$good.goods_name}</td>
                    <td class="text-center">{$good.goods_sn}</td>
                    <td class="text-center">{$good.spec_key_name}</td>
                    <td class="text-center">{$good.goods_num}</td>
                    <td class="text-center">{$good.goods_price}</td>
                    <td class="text-center">{$good.goods_total}</td>
                </tr>
            </volist>
			<tr>
			    <td colspan="7" class="text-right">订单总金额：<b>￥{$order.order_amount}</b></td>
			</tr>
            </tbody>
            <tfoot>
            </tfoot>
        </table>
		<table class="table mytable">
			<tr>
				<td>供应商：{$order.consignee}</td>
				<td>联系电话：{$shop.phone}</td>
			</tr>
			<tr>
				<td colspan="2">收货地址：{$order.full_address}</td>
			</tr>
			<tr>
				<td colspan="2">
					<textarea class="print_textarea mt20" placeholder="请输入备注信息" rows="3" style="width: 100%;margin-top: 20px;"></textarea>
					</td>
			</tr>
			<tr>
				<td colspan="2" class="text-center">
					<br/>
					<input class="btn btn-default noprint" type="submit" onclick="window.print();" value="打印">
				</td>
			</tr>
		</table>
    </div>
</div>
</body>
</html>